package com.zyd.shiro.persistence.beans;

import com.zyd.shiro.business.entity.User;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@Entity
@Table(name = "sys_channel")
public class Channel {
    @Id
    private Integer Id;
    private Double min_price;
    private String UID;
    private Integer region;
    private Integer user_id;
    @Transient
    private Region regions;
    @Transient
    private User user;
}
